package net;

import java.io.Serializable;
import java.util.ArrayList;

import db.cauhoicoso;

public class dethi implements Serializable{
	private ArrayList<cauhoicoso> cauhoi;
	private int size;
	private String masokythi;
	
	
	public String getMasokythi() {
		return masokythi;
	}
	public void setMasokythi(String masokythi) {
		this.masokythi = masokythi;
	}
	public int getSize() {
		return cauhoi.size();
	}
	public void setSize(int size) {
		this.size = size;
	}
	public dethi(String masokythi){
		super();
		cauhoi=new ArrayList<cauhoicoso>();
		this.masokythi=masokythi;
	}
	public dethi(){
		super();
		cauhoi=new ArrayList<cauhoicoso>();
		
	}
	public void removeAtt(int i)
	{
		this.cauhoi.remove(i);
		
	} 
	public cauhoicoso get(int i)
	{
		return cauhoi.get(i);
	}
  public void add(cauhoicoso cauhoi1)
  {
	 cauhoi.add(cauhoi1);
  }
	
	
}
